package dao;

import entity.Employee;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface EmpMapper {
   // void update(Employee entity);

    List<Employee> findEmpByGenderAndSalary(@Param("gender") boolean gender,
                                                  @Param("salary") BigDecimal salary);

    List<Employee> findEmpByName(@Param("empName") String name);


    List<Employee> findEmpByGenderAndSalary2(@Param("gender") Boolean gender,
                                            @Param("salary") BigDecimal salary);

    void update(Employee employee);

    List<Employee> findEmpByIds(List<Integer> ids);

    List<Employee> findEmpByIds2(Integer[] ids);
    List<Employee> findEmpByIds3( Map<Integer,String> ids);

}
